import Layout from '@/layout'

const advertisingSpaceRouter = {
  path: '/market',
  component: Layout,
  redirect: '/market/generalPriceconfig',
  name: 'market',
  meta: {
    title: '市场部',
    icon: 'clipboard'
  },
  children: [
    {
      path: '/market/generalPriceConfig',
      name: 'generalPriceConfig',
      component: () => import('@/views/market/generalPriceConfig/index'),
      meta: { title: '通用价格配置表', icon: '' },
    },
    {
      path: '/market/costCategoryConfig',
      name: 'costCategoryConfig',
      component: () => import('@/views/market/costCategoryConfig/index'),
      meta: { title: '费用类别配置表', icon: '' },
    },
    {
      path: '/market/costSet',
      name: 'costSet',
      component: () => import('@/views/market/costSet/index'),
      meta: { title: '费用设置表', icon: '' }
    },
    // 水电管理
    {
      path: '/market/hydropowerManage',
      name: 'hydropowerManage',
      component: () => import('@/views/market/hydropowerManage/index'),
      meta: { title: '水电管理', icon: '' },
      children: [
        {
          path: 'hydropowerDegrees',
          name: 'hydropowerDegrees',
          component: () => import('@/views/market/hydropowerManage/hydropowerDegrees/index'),
          meta: { title: '水电度数登记表', icon: '' },
        },
        {
          path: 'hydropowerDegreesReport',
          name: 'hydropowerDegreesReport',
          component: () => import('@/views/market/hydropowerManage/hydropowerDegreesReport/index'),
          meta: { title: '水电度数报表', icon: '' },
        }
      ]
    },
    {
      path: '/market/propertyContract',
      name: 'propertyContract',
      component: () => import('@/views/market/propertyContract/index'),
      meta: { title: '物业合同减免表', icon: '' },
    },
    {
      path: '/market/propertyContractReport',
      name: 'propertyContractReport',
      component: () => import('@/views/market/propertyContractReport/index'),
      meta: { title: '物业合同减免报表', icon: '' },
    },
    {
      path: '/market/signingUnitReport',
      name: 'signingUnitReport',
      component: () => import('@/views/market/signingUnitReport/index'),
      meta: { title: '签约单位报表', icon: '' },
    },
    {
      path: '/market/registeredUnitReport',
      name: 'registeredUnitReport',
      component: () => import('@/views/market/registeredUnitReport/index'),
      meta: { title: '注册单位报表', icon: '' },
    },
    {
      path: '/market/marginManage',
      name: 'marginManage',
      component: () => import('@/views/market/marginManage/index'),
      meta: { title: '注册单位保证金管理', icon: '' },
    },
    {
      path: '/market/taxRegister',
      name: 'taxRegister',
      component: () => import('@/views/market/taxRegister/index'),
      meta: { title: '税费登记表', icon: '' },
    },
    {
      path: '/market/taxUnregistered',
      name: 'taxUnregistered',
      component: () => import('@/views/market/taxUnregistered/index'),
      meta: { title: '税费未登记表', icon: '' },
    },
    {
      path: '/market/taxDetails',
      name: 'taxDetails',
      component: () => import('@/views/market/taxDetails/index'),
      meta: { title: '税费统计明细表', icon: '' },
    },
    {
      path: '/market/taxSummary',
      name: 'taxSummary',
      component: () => import('@/views/market/taxSummary/index'),
      meta: { title: '税费统计汇总表', icon: '' },
    },
    {
      path: '/market/practitionerRegister',
      name: 'practitionerRegister',
      component: () => import('@/views/market/practitionerRegister/index'),
      meta: { title: '从业人员登记表', icon: '' },
    },
    {
      path: '/market/practitionerChange',
      name: 'practitionerChange',
      component: () => import('@/views/market/practitionerChange/index'),
      meta: { title: '从业人员单位变动表', icon: '' },
    }
  ]
}

export default advertisingSpaceRouter